package cn.kgc.day04.service;

import cn.kgc.day04.entity.Score;
import cn.kgc.day04.http.ResponseResult;

import java.util.List;

/**
 * @author 课工场
 * @date 2024/10/11
 * @description
 */
public interface ScoreService {
    List<Score> scoreList();

    Boolean addScore(Score s);

    Score selectOne(Integer dbId);

    Boolean editScore(Score s);

    Boolean deleteById(Integer id);

    ResponseResult scorePage(Integer page, Integer limit);

    ResponseResult saveScore(Score scr);

    ResponseResult updateScore(Score scr);

}
